public class Xcf {
    public static void main(String[]args){
        int i=1;
        while (i <= 5) {
            System.out.println(i);
            i=i+1;
        }
        i=1;
        do {
            System.out.println(i);
            i=i+1;
        }while (i<=5);
        for (int j=1;j<=5;j++){
            System.out.println(j);
        }
    }
}
